package com.hp.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.annotations.Select;

@Getter
@Setter
public class Apply {
    private int id;
    private String name;
    private int age;
    private String aclass;
    private String game;

    public Apply() {
    }

    public Apply(int id, String name, int age, String aclass, String game) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.aclass = aclass;
        this.game = game;
    }

    public Apply(String name, int age, String aclass, String game) {
        this.name = name;
        this.age = age;
        this.aclass = aclass;
        this.game = game;
    }

    @Override
    public String toString() {
        return "Apply{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", aclass='" + aclass + '\'' +
                ", game='" + game + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAclass() {
        return aclass;
    }

    public void setAclass(String aclass) {
        this.aclass = aclass;
    }

    public String getGame() {
        return game;
    }

    public void setGame(String game) {
        this.game = game;
    }
}
